<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/8/12
 * Time: 11:40
 */
namespace App\Repositories;

use App\Models\UserLevel;

class UserLevelRepository
{
    /**
     * @param $id
     * @return mixed
     */
    public function byId($id)
    {
        return UserLevel::where('level_id', $id)->first();
    }
}